/**
 * @description 首页接口
 * @author zr
 */

import request from '@/utils/request'
import qs from 'qs'
/**
 * 消息通知
 *
 */
export const messageRemindingList = (data) => {
  return request({
    url: '/admin/aq/APic/messageRemindingList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 报警数量集合
 *
 */
export const ahAlarmCount = (data) => {
  return request({
    url: '/admin/ah/AhAppHomeAIalarm/ahAlarmCount',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 报警趋势
 *
 */
export const alarmTrend = (data) => {
  return request({
    url: '/admin/ah/AhAppHomeAIalarm/alarmTrend',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 报警类别
 *
 */
export const alarmLevelCount = (data) => {
  return request({
    url: '/admin/ah/AhAppHomeAIalarm/alarmLevelCount',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 报警类别列表
 *
 */
export const AlarmTypeList = (data) => {
  return request({
    url: '/admin/ah/AhAppHomeAIalarm/AlarmTypeList',
    method: 'POST',
    data: qs.stringify(data)
  })
}

/**
 * 消息列表
 *
 */
export const messageReminderList = (data) => {
  return request({
    url: '/admin/sy/SyMessageReminder/messageReminderList',
    method: 'POST',
    data: qs.stringify(data)
  })
}

/**
 * 消息列表
 *
 */
export const messageReminderAPPList = (data) => {
  return request({
    url: '/admin/sy/SyMessageReminder/messageReminderAPPList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 消息阅读
 *
 */
export const allMessageRead = (data) => {
  return request({
    url: '/admin/sy/SyMessageReminder/allMessageRead',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 消息阅读
 *
 */
export const messageRead = (data) => {
  return request({
    url: '/admin/sy/SyMessageReminder/messageRead',
    method: 'POST',
    data: qs.stringify(data)
  })
}

